package com.example.cloudpracticeplatform.service;

import com.example.cloudpracticeplatform.entity.Course;
import java.util.List;

public interface CourseService {
    int addCourse(Course course);
    int updateCourse(Course course);
    int deleteCourse(Integer courseId);
    Course getCourseById(Integer courseId);
    List<Course> getCourses(int page, int pageSize);
    
    int updateImageId(Integer courseId, String imageId);
}